<?php

$htmlOutput = array();
$htmlOutput[] = '<div class="notes form">';
$htmlOutput[] =     $form->create('Note', array('type' => 'file'));
$htmlOutput[] = '   <fieldset>';
$htmlOutput[] = sprintf('<legend>%s</legend>', __('Edit Note', true));
$htmlOutput[] =         $form->input('title');
$htmlOutput[] =         $form->input('introduction');
$htmlOutput[] =         $form->input('keywords');
$htmlOutput[] =         $form->input('body');
$htmlOutput[] =         $form->input('image', array('type' => 'file'));
$htmlOutput[] = '   </fieldset>';
$htmlOutput[] =     $form->end('Submit');
$htmlOutput[] = '</div>';
$htmlOutput[] = '<div class="actions">';
$htmlOutput[] = '   <ul>';
$htmlOutput[] = sprintf('<li>%s</li>', $html->link(__('List Notes', true), array('action'=>'index')));
$htmlOutput[] = '   </ul>';
$htmlOutput[] = '</div>';

echo implode("\n", $htmlOutput);

?>
